package com.school.mapper;

import com.school.entity.AdminUser;
import org.apache.ibatis.annotations.Param;

public interface AdminUserMapper {
    AdminUser findByUserNameAndPassword(@Param("userName") String userName, @Param("password") String encryptedPassword);

    AdminUser selectById(@Param("adminUserId") Integer userId);

    int updateById(AdminUser adminUser);
}
